
package com.ruoyi.client.pojo.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录
 */
@Data
public class UserLoginForm {

    @ApiModelProperty(value = "用户名", position = 1, required = true)
    @NotEmpty(message = "用户名不能为空")
    private String name;

    @ApiModelProperty(value = "用户密码", position = 2, required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
}
